package whisper3;

public class Simulator {
    void playSound(Animal animal) {
        System.out.println(animal.getAnimalName() + " cry: ");
        animal.cry();
    }
}